Average sentence length |
---|
23.2193 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.2500 |
4 | 0.4800 |
5 | 0.7700 |
6 | 1.1300 |
7 | 1.3000 |
8 | 1.1700 |
9 | 1.5600 |
10 | 1.5300 |
11 | 1.7900 |
12 | 2.2400 |
13 | 2.2100 |
14 | 2.6800 |
15 | 2.6200 |
16 | 3.0900 |
17 | 3.0500 |
18 | 3.5600 |
19 | 3.8500 |
20 | 4.0700 |
21 | 4.0800 |
22 | 3.9400 |
23 | 4.4100 |
24 | 4.2600 |
25 | 4.1500 |
26 | 4.1600 |
27 | 4.3700 |
28 | 3.9200 |
29 | 3.8000 |
30 | 3.9300 |
31 | 3.5200 |
32 | 3.1400 |
33 | 3.0700 |
34 | 2.5100 |
35 | 2.2500 |
36 | 1.9000 |
37 | 1.8400 |
38 | 1.2300 |
39 | 0.9300 |
40 | 0.5500 |
41 | 0.3600 |
42 | 0.1500 |
43 | 0.1000 |
44 | 0.0300 |
45 | 0.0300 |
46 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters